package org.example.ai.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-01-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("topic_tag")
public class TopicTag implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 标签ID，自增整数，作为主键，唯一标识每个话题标签
     */
    @TableId(value = "tag_id", type = IdType.AUTO)
    private Integer tagId;

    /**
     * 标签名称，字符串类型，长度为50，不能为空
     */
    private String tagName;

    /**
     * 标签描述，文本类型，用于存储标签的简要说明
     */
    private String tagDescription;


}
